package com.ysl.service;

import com.ysl.bean.Education;
import com.ysl.dao.EducationDao;
import com.ysl.dao.EducationDaoImpl;

import java.util.List;

public class EducationServiceImpl implements EducationService{
    EducationDao educationDao = new EducationDaoImpl();
    @Override
    public List<Education> findEducationAll() throws Exception{
        List<Education> educations = educationDao.selectEducationAll();
        return educations;
    }
}
